import vueRouter from 'vue-router';
import Dialog from '@/components/Dialog';
import Form from '@/components/Form';
import Index from '@/components/index';
import SelectEx from '@/components/SelectEx';//添加注释
export default new vueRouter({
    mode: 'history',
    routes:[
        {
          path:'/',
          redirect:'/index'  
        },
        {
            path:'/index',
            name: 'index',
            component: Index
        },
        {
            path:'/dialog',
            name:'dialog',
            component: Dialog,
        },
        {
            path:'/form',
            name:'form',
            component:Form,
        },
        {
            path:'/selectEx',
            name:'selectEx',
            component:SelectEx, 
        }
      
    ]
})

//1
//2
//3
//4
//5
//6

//7
//8

//9
//10